package us.icitap.commandcenter.ui.dispatcher;

import java.io.Serializable;

import javax.jms.ObjectMessage;

import org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext;

import us.icitap.commandcenter.business.ejb.persistence.Call;
import us.icitap.commandcenter.business.ejb.persistence.CallStatusEnum;

public class CallMessage   implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Call call;
	private CallStatusEnum prevoiusStatus;
	
	public CallMessage(Call call, CallStatusEnum prevoiusStatus) {
		this.call = call;
		this.prevoiusStatus = prevoiusStatus;
	}
	
	public Call getCall(){
		return call;
	}
	public CallStatusEnum getPrevoiusStatus(){
		return prevoiusStatus;
	}
}